package mysrpringboot.springboot.pojo;

import org.joda.time.DateTime;

import javax.persistence.*;
import java.sql.Timestamp;

@Entity
@Table(name="position")
public class Position {
    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Double getId() {
        return id;
    }

    public void setId(Double id) {
        this.id = id;
    }

    public String getPositionAdvantage() {
        return positionAdvantage;
    }

    public void setPositionAdvantage(String positionAdvantage) {
        this.positionAdvantage = positionAdvantage;
    }

    public Double getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Double companyId) {
        this.companyId = companyId;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public Double getSalaryMin() {
        return salaryMin;
    }

    public void setSalaryMin(Double salaryMin) {
        this.salaryMin = salaryMin;
    }

    public Double getSalaryMax() {
        return salaryMax;
    }

    public void setSalaryMax(Double salaryMax) {
        this.salaryMax = salaryMax;
    }

    public Double getSalaryMonth() {
        return salaryMonth;
    }

    public void setSalaryMonth(Double salaryMonth) {
        this.salaryMonth = salaryMonth;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getWorkYear() {
        return workYear;
    }

    public void setWorkYear(String workYear) {
        this.workYear = workYear;
    }

    public String getJobNature() {
        return jobNature;
    }

    public void setJobNature(String jobNature) {
        this.jobNature = jobNature;
    }

    public String getChargeField() {
        return chargeField;
    }

    public void setChargeField(String chargeField) {
        this.chargeField = chargeField;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public Double getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Double isEnable) {
        this.isEnable = isEnable;
    }

    public Double getIsIndex() {
        return isIndex;
    }

    public void setIsIndex(Double isIndex) {
        this.isIndex = isIndex;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Double getOrderby() {
        return orderby;
    }

    public void setOrderby(Double orderby) {
        this.orderby = orderby;
    }

    public Double getIsAdvice() {
        return isAdvice;
    }

    public void setIsAdvice(Double isAdvice) {
        this.isAdvice = isAdvice;
    }

    public Double getShoworder() {
        return showorder;
    }

    public void setShoworder(Double showorder) {
        this.showorder = showorder;
    }

    public Double getPublishUserId() {
        return publishUserId;
    }

    public void setPublishUserId(Double publishUserId) {
        this.publishUserId = publishUserId;
    }

    public String getWorkAddress() {
        return workAddress;
    }

    public void setWorkAddress(String workAddress) {
        this.workAddress = workAddress;
    }

    public Timestamp getGenerateTime() {
        return generateTime;
    }

    public void setGenerateTime(Timestamp generateTime) {
        this.generateTime = generateTime;
    }

    public Timestamp getBornTime() {
        return bornTime;
    }

    public void setBornTime(Timestamp bornTime) {
        this.bornTime = bornTime;
    }

    public Double getIsReward() {
        return isReward;
    }

    public void setIsReward(Double isReward) {
        this.isReward = isReward;
    }

    public String getRewardMoney() {
        return rewardMoney;
    }

    public void setRewardMoney(String rewardMoney) {
        this.rewardMoney = rewardMoney;
    }

    public Double getIsExpired() {
        return isExpired;
    }

    public void setIsExpired(Double isExpired) {
        this.isExpired = isExpired;
    }

    public Double getPositionDetailPV() {
        return positionDetailPV;
    }

    public void setPositionDetailPV(Double positionDetailPV) {
        this.positionDetailPV = positionDetailPV;
    }

    public Timestamp getOfflineTime() {
        return offlineTime;
    }

    public void setOfflineTime(Timestamp offlineTime) {
        this.offlineTime = offlineTime;
    }

    public Double getPositionDetailPV_cnbeta() {
        return positionDetailPV_cnbeta;
    }

    public void setPositionDetailPV_cnbeta(Double positionDetailPV_cnbeta) {
        this.positionDetailPV_cnbeta = positionDetailPV_cnbeta;
    }

    public Timestamp getAdviceTime() {
        return adviceTime;
    }

    public void setAdviceTime(Timestamp adviceTime) {
        this.adviceTime = adviceTime;
    }

    public String getComeFrom() {
        return comeFrom;
    }

    public void setComeFrom(String comeFrom) {
        this.comeFrom = comeFrom;
    }

    public Double getReceivedResumeCount() {
        return receivedResumeCount;
    }

    public void setReceivedResumeCount(Double receivedResumeCount) {
        this.receivedResumeCount = receivedResumeCount;
    }

    public Double getRefuseResumeCount() {
        return refuseResumeCount;
    }

    public void setRefuseResumeCount(Double refuseResumeCount) {
        this.refuseResumeCount = refuseResumeCount;
    }

    public Double getMarkCanInterviewCount() {
        return markCanInterviewCount;
    }

    public void setMarkCanInterviewCount(Double markCanInterviewCount) {
        this.markCanInterviewCount = markCanInterviewCount;
    }

    public Double getHaveNoticeInterCount() {
        return haveNoticeInterCount;
    }

    public void setHaveNoticeInterCount(Double haveNoticeInterCount) {
        this.haveNoticeInterCount = haveNoticeInterCount;
    }

    public Double getIsForbidden() {
        return isForbidden;
    }

    public void setIsForbidden(Double isForbidden) {
        this.isForbidden = isForbidden;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Timestamp getVerifyTime() {
        return verifyTime;
    }

    public void setVerifyTime(Timestamp verifyTime) {
        this.verifyTime = verifyTime;
    }

    public Double getAdWord() {
        return adWord;
    }

    public void setAdWord(Double adWord) {
        this.adWord = adWord;
    }

    public String getAdRankAndTime() {
        return adRankAndTime;
    }

    public void setAdRankAndTime(String adRankAndTime) {
        this.adRankAndTime = adRankAndTime;
    }

    public Double getAdTimes() {
        return adTimes;
    }

    public void setAdTimes(Double adTimes) {
        this.adTimes = adTimes;
    }

    public Timestamp getAdStartTime() {
        return adStartTime;
    }

    public void setAdStartTime(Timestamp adStartTime) {
        this.adStartTime = adStartTime;
    }

    public Timestamp getAdEndTime() {
        return adEndTime;
    }

    public void setAdEndTime(Timestamp adEndTime) {
        this.adEndTime = adEndTime;
    }

    public Double getAdBeforeDetailPV() {
        return adBeforeDetailPV;
    }

    public void setAdBeforeDetailPV(Double adBeforeDetailPV) {
        this.adBeforeDetailPV = adBeforeDetailPV;
    }

    public Double getAdAfterDetailPV() {
        return adAfterDetailPV;
    }

    public void setAdAfterDetailPV(Double adAfterDetailPV) {
        this.adAfterDetailPV = adAfterDetailPV;
    }

    public Double getAdBeforeReceivedCount() {
        return adBeforeReceivedCount;
    }

    public void setAdBeforeReceivedCount(Double adBeforeReceivedCount) {
        this.adBeforeReceivedCount = adBeforeReceivedCount;
    }

    public Double getAdAfterReceivedCount() {
        return adAfterReceivedCount;
    }

    public void setAdAfterReceivedCount(Double adAfterReceivedCount) {
        this.adAfterReceivedCount = adAfterReceivedCount;
    }

    public Double getAdjustScore() {
        return adjustScore;
    }

    public void setAdjustScore(Double adjustScore) {
        this.adjustScore = adjustScore;
    }

    public Timestamp getWeightStartTime() {
        return weightStartTime;
    }

    public void setWeightStartTime(Timestamp weightStartTime) {
        this.weightStartTime = weightStartTime;
    }

    public Timestamp getWeightEndTime() {
        return weightEndTime;
    }

    public void setWeightEndTime(Timestamp weightEndTime) {
        this.weightEndTime = weightEndTime;
    }

    public String getIsForward() {
        return isForward;
    }

    public void setIsForward(String isForward) {
        this.isForward = isForward;
    }

    public String getForwardEmail() {
        return forwardEmail;
    }

    public void setForwardEmail(String forwardEmail) {
        this.forwardEmail = forwardEmail;
    }

    public String getIsSchoolJob() {
        return isSchoolJob;
    }

    public void setIsSchoolJob(String isSchoolJob) {
        this.isSchoolJob = isSchoolJob;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Timestamp getProlong_offline_time() {
        return prolong_offline_time;
    }

    public void setProlong_offline_time(Timestamp prolong_offline_time) {
        this.prolong_offline_time = prolong_offline_time;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "position_id")
    private String positionId;
    @Column(name = "company_name")
    private String companyName;
    @Column(name = "id")
    private Double id;
    @Column(name = "position_advantage")
    private String positionAdvantage;
    @Column(name = "company_id")
    private Double companyId;
    @Column(name = "position_name")
    private String positionName;
    @Column(name = "salary")
    private String salary;
    @Column(name = "salary_min")
    private Double salaryMin;
    @Column(name = "salary_max")
    private Double salaryMax;
    @Column(name = "salary_month")
    private Double salaryMonth;
    @Column(name = "education")
    private String education;
    @Column(name = "work_year")
    private String workYear;
    @Column(name = "job_nature")
    private String jobNature;
    @Column(name = "charge_field")
    private String chargeField;
    @Column(name = "create_time")
    private Timestamp createTime;
    @Column(name = "email")
    private String email;
    @Column(name = "publish_time")
    private String publishTime;
    @Column(name = "is_enable")
    private Double isEnable;
    @Column(name = "is_index")
    private Double isIndex;
    @Column(name = "city")
    private String city;
    @Column(name = "orderby")
    private Double orderby;
    @Column(name = "is_advice")
    private Double isAdvice;
    @Column(name = "showorder")
    private Double showorder;
    @Column(name = "publish_user_id")
    private Double publishUserId;
    @Column(name = "work_address")
    private String workAddress;
    @Column(name = "generate_time")
    private Timestamp generateTime;
    @Column(name = "born_time")
    private Timestamp bornTime;
    @Column(name = "is_reward")
    private Double isReward;
    @Column(name = "reward_money")
    private String rewardMoney;
    @Column(name = "is_expired")
    private Double isExpired;
    @Column(name = "position_detailpv")
    private Double positionDetailPV;
    @Column(name = "offline_time")
    private Timestamp offlineTime;
    @Column(name = "position_detailpv_cnbeta")
    private Double positionDetailPV_cnbeta;
    @Column(name = "advice_time")
    private Timestamp adviceTime;
    @Column(name = "come_from")
    private String comeFrom;
    @Column(name = "received_resume_count")
    private Double receivedResumeCount;
    @Column(name = "refuse_resume_count")
    private Double refuseResumeCount;
    @Column(name = "mark_can_interview_count")
    private Double markCanInterviewCount;
    @Column(name = "have_notice_inter_count")
    private Double haveNoticeInterCount;
    @Column(name = "is_forbidden")
    private Double isForbidden;
    @Column(name = "reason")
    private String reason;
    @Column(name = "verify_time")
    private Timestamp verifyTime;
    @Column(name = "ad_word")
    private Double adWord;
    @Column(name = "ad_rank_and_time")
    private String adRankAndTime;
    @Column(name = "ad_times")
    private Double adTimes;
    @Column(name = "ad_start_time")
    private Timestamp adStartTime;
    @Column(name = "ad_end_time")
    private Timestamp adEndTime;
    @Column(name = "ad_before_detailpv")
    private Double adBeforeDetailPV;
    @Column(name = "ad_after_detailpv")
    private Double adAfterDetailPV;
    @Column(name = "ad_before_received_count")
    private Double adBeforeReceivedCount;
    @Column(name = "ad_after_received_count")
    private Double adAfterReceivedCount;
    @Column(name = "adjust_score")
    private Double adjustScore;
    @Column(name = "weight_start_time")
    private Timestamp weightStartTime;
    @Column(name = "weight_end_time")
    private Timestamp weightEndTime;
    @Column(name = "is_forward")
    private String isForward;
    @Column(name = "forward_email")
    private String forwardEmail;
    @Column(name = "is_school_job")
    private String isSchoolJob;
    @Column(name = "type")
    private int type;
    @Column(name = "prolong_offline_time")
    private Timestamp prolong_offline_time;


    @Override
    public String toString() {
        return "Position{" +
                "positionId='" + positionId + '\'' +
                ", companyName='" + companyName + '\'' +
                ", id=" + id +
                ", positionAdvantage='" + positionAdvantage + '\'' +
                ", companyId=" + companyId +
                ", positionName='" + positionName + '\'' +
                ", salary='" + salary + '\'' +
                ", salaryMin=" + salaryMin +
                ", salaryMax=" + salaryMax +
                ", salaryMonth=" + salaryMonth +
                ", education='" + education + '\'' +
                ", workYear='" + workYear + '\'' +
                ", jobNature='" + jobNature + '\'' +
                ", chargeField='" + chargeField + '\'' +
                ", createTime=" + createTime +
                ", email='" + email + '\'' +
                ", publishTime='" + publishTime + '\'' +
                ", isEnable=" + isEnable +
                ", isIndex=" + isIndex +
                ", city='" + city + '\'' +
                ", orderby=" + orderby +
                ", isAdvice=" + isAdvice +
                ", showorder=" + showorder +
                ", publishUserId=" + publishUserId +
                ", workAddress='" + workAddress + '\'' +
                ", generateTime=" + generateTime +
                ", bornTime=" + bornTime +
                ", isReward=" + isReward +
                ", rewardMoney='" + rewardMoney + '\'' +
                ", isExpired=" + isExpired +
                ", positionDetailPV=" + positionDetailPV +
                ", offlineTime=" + offlineTime +
                ", positionDetailPV_cnbeta=" + positionDetailPV_cnbeta +
                ", adviceTime=" + adviceTime +
                ", comeFrom='" + comeFrom + '\'' +
                ", receivedResumeCount=" + receivedResumeCount +
                ", refuseResumeCount=" + refuseResumeCount +
                ", markCanInterviewCount=" + markCanInterviewCount +
                ", haveNoticeInterCount=" + haveNoticeInterCount +
                ", isForbidden=" + isForbidden +
                ", reason='" + reason + '\'' +
                ", verifyTime=" + verifyTime +
                ", adWord=" + adWord +
                ", adRankAndTime='" + adRankAndTime + '\'' +
                ", adTimes=" + adTimes +
                ", adStartTime=" + adStartTime +
                ", adEndTime=" + adEndTime +
                ", adBeforeDetailPV=" + adBeforeDetailPV +
                ", adAfterDetailPV=" + adAfterDetailPV +
                ", adBeforeReceivedCount=" + adBeforeReceivedCount +
                ", adAfterReceivedCount=" + adAfterReceivedCount +
                ", adjustScore=" + adjustScore +
                ", weightStartTime=" + weightStartTime +
                ", weightEndTime=" + weightEndTime +
                ", isForward='" + isForward + '\'' +
                ", forwardEmail='" + forwardEmail + '\'' +
                ", isSchoolJob='" + isSchoolJob + '\'' +
                ", type=" + type +
                ", prolong_offline_time=" + prolong_offline_time +
                '}';
    }





}
